import { NgModule } from '@angular/core';
import { NzGridModule } from 'ng-zorro-antd/grid';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzTableModule } from 'ng-zorro-antd/table';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzFormModule } from 'ng-zorro-antd/form';
import { NzMessageModule } from 'ng-zorro-antd/message';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';
import { NzDividerModule } from 'ng-zorro-antd/divider';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NzSwitchModule } from 'ng-zorro-antd/switch';

@NgModule({
  imports: [
    FormsModule,
    ReactiveFormsModule,
    NzGridModule,
    NzButtonModule,
    NzTableModule,
    NzModalModule,
    NzFormModule,
    NzMessageModule,
    NzInputModule,
    NzPopconfirmModule,
    NzDividerModule,
    NzSwitchModule,
  ],
  declarations: [],
  exports: [
    FormsModule,
    ReactiveFormsModule,
    NzGridModule,
    NzButtonModule,
    NzTableModule,
    NzModalModule,
    NzFormModule,
    NzMessageModule,
    NzInputModule,
    NzPopconfirmModule,
    NzDividerModule,
    NzSwitchModule,
  ],
})
export class SharedModule {}
